<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: CPPlotter: Class TCPPlotter</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TCPPlotter"></a><h1 class="cio">Class TCPPlotter</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td><a class="section"  href="#%40Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section"  href="#%40Methods">Methods</a></td><td><a class="section"  href="#%40Properties">Properties</a></td></tr></table>
<a name="%40Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="CPPlotter.html">CPPlotter</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCPPlotter = class(TCustomControl)</code></p>
<h2 class="description">Description</h2>
<p>
Control for plotting function graphs</p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TCustomControl</li>
<li class="thisitem">TCPPlotter</li></ul><h2 class="overview">Overview</h2>
<a name="%40Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#CMFontChanged">CMFontChanged</a></b>(var Message: TMessage); message CM_FONTCHANGED;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#ViewUpdated">ViewUpdated</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#UpdateCanvasBounds">UpdateCanvasBounds</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#CNKeyDown">CNKeyDown</a></b>(var Message: TWMKeyDown); message CN_KEYDOWN;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#MouseDown">MouseDown</a></b>(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#MouseMove">MouseMove</a></b>(Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#MouseUp">MouseUp</a></b>(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#CMMouseLeave">CMMouseLeave</a></b>(var Message: TMessage); message CM_MOUSELEAVE;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#WMTimer">WMTimer</a></b>(var Message: TWMTimer); message WM_TIMER;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#SetParent">SetParent</a></b>(AParent: TWinControl); override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CPPlotter.TCPPlotter.html#Create">Create</a></b>(AOwner: TComponent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CPPlotter.TCPPlotter.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#Assign">Assign</a></b>(Source: TPersistent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#Resize">Resize</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#Paint">Paint</a></b>; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#PaintToView">PaintToView</a></b>(View: <a   href="CPView.TCPView.html">TCPView</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CPPlotter.TCPPlotter.html#MouseWheelHandler">MouseWheelHandler</a></b>(var Message: TMessage); override;</code></td>
</tr>
</table>
<a name="%40Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#Canvas">Canvas</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#View">View</a></b>: <a   href="CPView.TCPView.html">TCPView</a> read FView write SetView;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#PlotStyle">PlotStyle</a></b>: <a   href="CPBase.TCPPlotStyle.html">TCPPlotStyle</a> read FPlotStyle write SetPlotStyle;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#InputOptions">InputOptions</a></b>: <a   href="CPBase.TCPInputOptions.html">TCPInputOptions</a> read FInputOptions
      write FInputOptions;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#Graphs">Graphs</a></b>: <a   href="CPGraph.TCPGraphList.html">TCPGraphList</a> read FGraphs write FGraphs;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#CoordSystem">CoordSystem</a></b>: <a   href="CPCoordSystem.TCPCoordSystem.html">TCPCoordSystem</a> read FCoordSystem;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#OnPlotMouseMove">OnPlotMouseMove</a></b>: <a   href="CPPlotter.html#TCPPlotMouseMoveEvent">TCPPlotMouseMoveEvent</a> read FOnPlotMouseMove
      write SetOnPlotMouseMove;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#OnViewChange">OnViewChange</a></b>: <a   href="CPPlotter.html#TCPViewChangeEvent">TCPViewChangeEvent</a> read FOnViewChange
      write FOnViewChange;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#DisplayZoom">DisplayZoom</a></b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDisplayZoom write SetDisplayZoom;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <b><a   href="CPPlotter.TCPPlotter.html#Font">Font</a></b>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="CMFontChanged"></a><code>procedure <b>CMFontChanged</b>(var Message: TMessage); message CM_FONTCHANGED;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="ViewUpdated"></a><code>procedure <b>ViewUpdated</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Is called, after the view has been changed.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="UpdateCanvasBounds"></a><code>procedure <b>UpdateCanvasBounds</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Notifies view about new canvas bounds.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="CNKeyDown"></a><code>procedure <b>CNKeyDown</b>(var Message: TWMKeyDown); message CN_KEYDOWN;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles key down messages</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="MouseDown"></a><code>procedure <b>MouseDown</b>(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles mouse down messages</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="MouseMove"></a><code>procedure <b>MouseMove</b>(Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles mouse move messages</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="MouseUp"></a><code>procedure <b>MouseUp</b>(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles mouse up messages</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="CMMouseLeave"></a><code>procedure <b>CMMouseLeave</b>(var Message: TMessage); message CM_MOUSELEAVE;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles mouse leave messages</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="WMTimer"></a><code>procedure <b>WMTimer</b>(var Message: TWMTimer); message WM_TIMER;</code></td>
</tr>
<tr><td colspan="2">
<p>
Handles timerr messages for animated view changes</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="SetParent"></a><code>procedure <b>SetParent</b>(AParent: TWinControl); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets a new parent window</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(AOwner: TComponent); override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Assign"></a><code>procedure <b>Assign</b>(Source: TPersistent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Assign plot style, input options and view from another plotter control</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Resize"></a><code>procedure <b>Resize</b>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Reacts on plotter control size changes</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Paint"></a><code>procedure <b>Paint</b>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Performs drawing of the plotter control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PaintToView"></a><code>procedure <b>PaintToView</b>(View: <a   href="CPView.TCPView.html">TCPView</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
Performs drawing using the specified view instance. This can also be used to export images, when the specified view uses a sub class of TCPPlotExport as attached canvas.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="MouseWheelHandler"></a><code>procedure <b>MouseWheelHandler</b>(var Message: TMessage); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Processes mouse wheel events</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Canvas"></a><code>property <b>Canvas</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Control canvas</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="View"></a><code>property <b>View</b>: <a   href="CPView.TCPView.html">TCPView</a> read FView write SetView;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets view on the coordinate system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PlotStyle"></a><code>property <b>PlotStyle</b>: <a   href="CPBase.TCPPlotStyle.html">TCPPlotStyle</a> read FPlotStyle write SetPlotStyle;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets plotting style related attributes</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="InputOptions"></a><code>property <b>InputOptions</b>: <a   href="CPBase.TCPInputOptions.html">TCPInputOptions</a> read FInputOptions
      write FInputOptions;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets input related properties for user interactions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Graphs"></a><code>property <b>Graphs</b>: <a   href="CPGraph.TCPGraphList.html">TCPGraphList</a> read FGraphs write FGraphs;</code></td>
</tr>
<tr><td colspan="2">
<p>
Provides access to function graphs</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="CoordSystem"></a><code>property <b>CoordSystem</b>: <a   href="CPCoordSystem.TCPCoordSystem.html">TCPCoordSystem</a> read FCoordSystem;</code></td>
</tr>
<tr><td colspan="2">
<p>
Coordinate system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="OnPlotMouseMove"></a><code>property <b>OnPlotMouseMove</b>: <a   href="CPPlotter.html#TCPPlotMouseMoveEvent">TCPPlotMouseMoveEvent</a> read FOnPlotMouseMove
      write SetOnPlotMouseMove;</code></td>
</tr>
<tr><td colspan="2">
<p>
Event that is triggered, when the mouse moves over a plotter control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="OnViewChange"></a><code>property <b>OnViewChange</b>: <a   href="CPPlotter.html#TCPViewChangeEvent">TCPViewChangeEvent</a> read FOnViewChange
      write FOnViewChange;</code></td>
</tr>
<tr><td colspan="2">
<p>
Event that is triggered, when the plotter control view is modified either by user interactions or by the method calls.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="DisplayZoom"></a><code>property <b>DisplayZoom</b>: <a   href="CPBase.html#TCPFloat">TCPFloat</a> read FDisplayZoom write SetDisplayZoom;</code></td>
</tr>
<tr><td colspan="2">
<p>
Sets or gets the display size of text, coordinate grid as well as line thickness.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><a name="Font"></a><code>property <b>Font</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-07-25 15:33:03</em>
</span>
</body></html>
